// To parse this JSON data, do
//
//     final homeData = homeDataFromJson(jsonString);

import 'dart:convert';

HomeData homeDataFromJson(String str) => HomeData.fromJson(json.decode(str));

String homeDataToJson(HomeData data) => json.encode(data.toJson());

class HomeData {
  HomeData({
    this.status,
    this.message,
    this.data,
  });

  int status;
  String message;
  Data data;

  factory HomeData.fromJson(Map<String, dynamic> json) => HomeData(
        status: json["status"] == null ? null : json["status"],
        message: json["message"] == null ? null : json["message"],
        data: json["data"] == null ? null : Data.fromJson(json["data"]),
      );

  Map<String, dynamic> toJson() => {
        "status": status == null ? null : status,
        "message": message == null ? null : message,
        "data": data == null ? null : data.toJson(),
      };
}

class Data {
  Data({
    this.sections,
    this.news,
  });

  List<Section> sections;
  List<dynamic> news;

  factory Data.fromJson(Map<String, dynamic> json) => Data(
        sections: json["sections"] == null
            ? null
            : List<Section>.from(
                json["sections"].map((x) => Section.fromJson(x))),
        news: json["news"] == null
            ? null
            : List<dynamic>.from(json["news"].map((x) => x)),
      );

  Map<String, dynamic> toJson() => {
        "sections": sections == null
            ? null
            : List<dynamic>.from(sections.map((x) => x.toJson())),
        "news": news == null ? null : List<dynamic>.from(news.map((x) => x)),
      };
}

class Section {
  Section({
    this.title,
    this.data,
    this.news,
  });

  String title;
  List<Datum> data;
  List<News> news;

  factory Section.fromJson(Map<String, dynamic> json) => Section(
        title: json["title"] == null ? null : json["title"],
        data: json["data"] == null
            ? null
            : List<Datum>.from(json["data"].map((x) => Datum.fromJson(x))),
        news: json["news"] == null
            ? null
            : List<News>.from(json["news"].map((x) => News.fromJson(x))),
      );

  Map<String, dynamic> toJson() => {
        "title": title == null ? null : title,
        "data": data == null
            ? null
            : List<dynamic>.from(data.map((x) => x.toJson())),
        "news": news == null
            ? null
            : List<dynamic>.from(news.map((x) => x.toJson())),
      };
}

class Datum {
  Datum({
    this.pageIndex,
    this.pageSize,
    this.startIndex,
    this.projectId,
    this.createId,
    this.projectName,
    this.useArea,
    this.skillArea,
    this.valuation,
    this.valuationType,
    this.fruitType,
    this.processType,
    this.financingType,
    this.cooperateType,
    this.yourWant,
    this.yourWantContent,
    this.words,
    this.companyName,
    this.contactName,
    this.phoneNumber,
    this.email,
    this.provinceId,
    this.cityId,
    this.areaId,
    this.photos,
    this.summary,
    this.detail,
    this.teamDesc,
    this.proveUrl,
    this.createTime,
    this.updateTime,
    this.updateBy,
    this.comment,
    this.state,
    this.approvalState,
    this.approvalOpinion,
    this.approvalUser,
    this.approvalTime,
    this.delFlag,
    this.isRecommend,
    this.recommendTime,
    this.startVideo,
    this.endVideo,
    this.browseNum,
    this.checkSolution,
    this.provinceName,
    this.cityName,
    this.importFlag,
    this.publishUserId,
    this.talkUserId,
    this.shareUserIds,
    this.approvalFlag,
    this.childUserId,
    this.talkChildUserId,
    this.areaName,
    this.useAreaStr,
    this.skillAreaStr,
    this.fruitTypeStr,
    this.processTypeStr,
    this.financingTypeStr,
    this.createName,
    this.accountHead,
    this.keyWord,
    this.sort,
    this.userProvince,
    this.userCity,
    this.userArea,
    this.stateLabel,
    this.approvalStateLabel,
    this.userName,
    this.agentId,
    this.agentUserInfoId,
    this.agentApplyId,
    this.userPhoneNumber,
    this.topState,
    this.topStartTime,
    this.topEndTime,
    this.topCreateTime,
    this.levelNum,
    this.searchCity,
    this.searchProv,
    this.subCode,
    this.publishUserName,
    this.publishUserLogo,
    this.publishUserPhone,
    this.talkUserName,
    this.talkUserLogo,
    this.talkUserPhone,
    this.talkUserIsAgent,
    this.shareUserNames,
    this.childUserName,
    this.childUserLogo,
    this.childUserPhone,
    this.childUserJob,
    this.talkChildUserName,
    this.talkChildUserLogo,
    this.talkChildUserPhone,
    this.talkChildUserJob,
    this.yourWantStr,
    this.id,
    this.audit,
    this.photo,
    this.name,
    this.title,
    this.agent,
    this.pLink,
    this.intro,
    this.createdAt,
    this.updatedAt,
    this.v,
    this.fruit,
    this.researchArea,
    this.serviceReleaseId,
    this.linkUserId,
    this.serviceName,
    this.serciceType,
    this.region,
    this.regionId,
    this.isnationwide,
    this.price,
    this.negotiable,
    this.linkman,
    this.phonenumber,
    this.advertisingMap,
    this.serviceDetails,
    this.recommend,
    this.userInforCompany,
    this.serciceTypeNme,
    this.datumId,
    this.userInfoId,
    this.userId,
    this.budget,
    this.note,
    this.endDate,
    this.type,
    this.technicalFieldId,
    this.technicalFieldDesc,
    this.remarks,
    this.createBy,
    this.createDate,
    this.updateDate,
    this.approvalBy,
    this.webUserId,
    this.approvalUserName,
    this.typeLabel,
    this.cityLabel,
    this.provinceLabel,
    this.agentUserInfoName,
    this.searchKey,
    this.endDateS,
    this.endDateE,
    this.userType,
    this.userCompanyTypeLabel,
    this.workUnit,
    this.province,
    this.city,
    this.linkPerson,
    this.linkPhone,
    this.talkPerson,
    this.talkPhone,
    this.activitiesTopic,
    this.activitiesContent,
    this.activitiesType,
    this.activitiesMode,
    this.activitiesIndustry,
    this.organizers,
    this.contractors,
    this.coOrganizers,
    this.startTime,
    this.endTime,
    this.districtId,
    this.address,
    this.imgAddrs,
    this.status,
    this.contact,
    this.regEndTime,
    this.isReg,
    this.regFee,
    this.regNumber,
    this.isFee,
    this.closeReason,
    this.keyword,
    this.counts,
    this.activitiesTypeName,
    this.districtName,
    this.createUserLogo,
    this.collectionNum,
    this.activitiesIndustryName,
    this.payMallInfoId,
    this.stock,
    this.payOrderId,
    this.orderCode,
    this.mallNum,
    this.totalPrice,
    this.actualPrice,
    this.filterPrems,
  });

  int pageIndex;
  int pageSize;
  int startIndex;
  int projectId;
  int createId;
  String projectName;
  List<int> useArea;
  List<int> skillArea;
  int valuation;
  int valuationType;
  List<int> fruitType;
  List<int> processType;
  List<int> financingType;
  List<String> cooperateType;
  List<YourWant> yourWant;
  String yourWantContent;
  List<String> words;
  String companyName;
  String contactName;
  String phoneNumber;
  String email;
  int provinceId;
  int cityId;
  int areaId;
  List<String> photos;
  String summary;
  String detail;
  String teamDesc;
  List<String> proveUrl;
  DateTime createTime;
  DateTime updateTime;
  int updateBy;
  String comment;
  dynamic state;
  int approvalState;
  String approvalOpinion;
  ApprovalUser approvalUser;
  DateTime approvalTime;
  int delFlag;
  int isRecommend;
  DateTime recommendTime;
  String startVideo;
  String endVideo;
  int browseNum;
  String checkSolution;
  String provinceName;
  String cityName;
  int importFlag;
  int publishUserId;
  int talkUserId;
  String shareUserIds;
  int approvalFlag;
  dynamic childUserId;
  dynamic talkChildUserId;
  dynamic areaName;
  dynamic useAreaStr;
  dynamic skillAreaStr;
  dynamic fruitTypeStr;
  dynamic processTypeStr;
  dynamic financingTypeStr;
  String createName;
  String accountHead;
  String keyWord;
  String sort;
  dynamic userProvince;
  dynamic userCity;
  dynamic userArea;
  StateLabel stateLabel;
  ApprovalStateLabel approvalStateLabel;
  String userName;
  dynamic agentId;
  dynamic agentUserInfoId;
  dynamic agentApplyId;
  String userPhoneNumber;
  int topState;
  DateTime topStartTime;
  DateTime topEndTime;
  DateTime topCreateTime;
  int levelNum;
  dynamic searchCity;
  dynamic searchProv;
  dynamic subCode;
  String publishUserName;
  String publishUserLogo;
  String publishUserPhone;
  String talkUserName;
  String talkUserLogo;
  String talkUserPhone;
  bool talkUserIsAgent;
  dynamic shareUserNames;
  dynamic childUserName;
  dynamic childUserLogo;
  dynamic childUserPhone;
  dynamic childUserJob;
  dynamic talkChildUserName;
  dynamic talkChildUserLogo;
  dynamic talkChildUserPhone;
  dynamic talkChildUserJob;
  dynamic yourWantStr;
  String id;
  int audit;
  String photo;
  String name;
  String title;
  String agent;
  String pLink;
  String intro;
  DateTime createdAt;
  DateTime updatedAt;
  int v;
  String fruit;
  String researchArea;
  int serviceReleaseId;
  int linkUserId;
  String serviceName;
  int serciceType;
  String region;
  String regionId;
  int isnationwide;
  int price;
  int negotiable;
  String linkman;
  String phonenumber;
  String advertisingMap;
  String serviceDetails;
  dynamic recommend;
  UserInforCompany userInforCompany;
  String serciceTypeNme;
  int datumId;
  int userInfoId;
  dynamic userId;
  String budget;
  String note;
  DateTime endDate;
  String type;
  String technicalFieldId;
  String technicalFieldDesc;
  dynamic remarks;
  dynamic createBy;
  DateTime createDate;
  dynamic updateDate;
  dynamic approvalBy;
  dynamic webUserId;
  dynamic approvalUserName;
  String typeLabel;
  String cityLabel;
  String provinceLabel;
  dynamic agentUserInfoName;
  dynamic searchKey;
  dynamic endDateS;
  dynamic endDateE;
  int userType;
  String userCompanyTypeLabel;
  dynamic workUnit;
  String province;
  String city;
  dynamic linkPerson;
  dynamic linkPhone;
  dynamic talkPerson;
  dynamic talkPhone;
  String activitiesTopic;
  String activitiesContent;
  int activitiesType;
  int activitiesMode;
  String activitiesIndustry;
  String organizers;
  dynamic contractors;
  String coOrganizers;
  String startTime;
  String endTime;
  int districtId;
  String address;
  String imgAddrs;
  String status;
  String contact;
  String regEndTime;
  int isReg;
  double regFee;
  int regNumber;
  int isFee;
  dynamic closeReason;
  dynamic keyword;
  dynamic counts;
  String activitiesTypeName;
  String districtName;
  String createUserLogo;
  dynamic collectionNum;
  dynamic activitiesIndustryName;
  dynamic payMallInfoId;
  dynamic stock;
  dynamic payOrderId;
  dynamic orderCode;
  int mallNum;
  dynamic totalPrice;
  dynamic actualPrice;
  dynamic filterPrems;

  factory Datum.fromJson(Map<String, dynamic> json) => Datum(
        pageIndex: json["pageIndex"] == null ? null : json["pageIndex"],
        pageSize: json["pageSize"] == null ? null : json["pageSize"],
        startIndex: json["startIndex"] == null ? null : json["startIndex"],
        projectId: json["projectId"] == null ? null : json["projectId"],
        createId: json["createId"] == null ? null : json["createId"],
        projectName: json["projectName"] == null ? null : json["projectName"],
        useArea: json["useArea"] == null
            ? null
            : List<int>.from(json["useArea"].map((x) => x)),
        skillArea: json["skillArea"] == null
            ? null
            : List<int>.from(json["skillArea"].map((x) => x)),
        valuation: json["valuation"] == null ? null : json["valuation"],
        valuationType:
            json["valuationType"] == null ? null : json["valuationType"],
        fruitType: json["fruitType"] == null
            ? null
            : List<int>.from(json["fruitType"].map((x) => x)),
        processType: json["processType"] == null
            ? null
            : List<int>.from(json["processType"].map((x) => x)),
        financingType: json["financingType"] == null
            ? null
            : List<int>.from(json["financingType"].map((x) => x)),
        cooperateType: json["cooperateType"] == null
            ? null
            : List<String>.from(json["cooperateType"].map((x) => x)),
        yourWant: json["yourWant"] == null
            ? null
            : List<YourWant>.from(
                json["yourWant"].map((x) => yourWantValues.map[x])),
        yourWantContent:
            json["yourWantContent"] == null ? null : json["yourWantContent"],
        words: json["words"] == null
            ? null
            : List<String>.from(json["words"].map((x) => x)),
        companyName: json["companyName"] == null ? null : json["companyName"],
        contactName: json["contactName"] == null ? null : json["contactName"],
        phoneNumber: json["phoneNumber"] == null ? null : json["phoneNumber"],
        email: json["email"] == null ? null : json["email"],
        provinceId: json["provinceId"] == null ? null : json["provinceId"],
        cityId: json["cityId"] == null ? null : json["cityId"],
        areaId: json["areaId"] == null ? null : json["areaId"],
        photos: json["photos"] == null
            ? null
            : List<String>.from(json["photos"].map((x) => x)),
        summary: json["summary"] == null ? null : json["summary"],
        detail: json["detail"] == null ? null : json["detail"],
        teamDesc: json["teamDesc"] == null ? null : json["teamDesc"],
        proveUrl: json["proveUrl"] == null
            ? null
            : List<String>.from(json["proveUrl"].map((x) => x)),
        createTime: json["createTime"] == null
            ? null
            : DateTime.parse(json["createTime"]),
        updateTime: json["updateTime"] == null
            ? null
            : DateTime.parse(json["updateTime"]),
        updateBy: json["updateBy"] == null ? null : json["updateBy"],
        comment: json["comment"] == null ? null : json["comment"],
        state: json["state"],
        approvalState:
            json["approvalState"] == null ? null : json["approvalState"],
        approvalOpinion:
            json["approvalOpinion"] == null ? null : json["approvalOpinion"],
        approvalUser: json["approvalUser"] == null
            ? null
            : approvalUserValues.map[json["approvalUser"]],
        approvalTime: json["approvalTime"] == null
            ? null
            : DateTime.parse(json["approvalTime"]),
        delFlag: json["delFlag"] == null ? null : json["delFlag"],
        isRecommend: json["isRecommend"] == null ? null : json["isRecommend"],
        recommendTime: json["recommendTime"] == null
            ? null
            : DateTime.parse(json["recommendTime"]),
        startVideo: json["startVideo"] == null ? null : json["startVideo"],
        endVideo: json["endVideo"] == null ? null : json["endVideo"],
        browseNum: json["browseNum"] == null ? null : json["browseNum"],
        checkSolution:
            json["checkSolution"] == null ? null : json["checkSolution"],
        provinceName:
            json["provinceName"] == null ? null : json["provinceName"],
        cityName: json["cityName"] == null ? null : json["cityName"],
        importFlag: json["importFlag"] == null ? null : json["importFlag"],
        publishUserId:
            json["publishUserId"] == null ? null : json["publishUserId"],
        talkUserId: json["talkUserId"] == null ? null : json["talkUserId"],
        shareUserIds:
            json["shareUserIds"] == null ? null : json["shareUserIds"],
        approvalFlag:
            json["approvalFlag"] == null ? null : json["approvalFlag"],
        childUserId: json["childUserId"],
        talkChildUserId: json["talkChildUserId"],
        areaName: json["areaName"],
        useAreaStr: json["useAreaStr"],
        skillAreaStr: json["skillAreaStr"],
        fruitTypeStr: json["fruitTypeStr"],
        processTypeStr: json["processTypeStr"],
        financingTypeStr: json["financingTypeStr"],
        createName: json["createName"] == null ? null : json["createName"],
        accountHead: json["accountHead"] == null ? null : json["accountHead"],
        keyWord: json["keyWord"] == null ? null : json["keyWord"],
        sort: json["sort"] == null ? null : json["sort"],
        userProvince: json["userProvince"],
        userCity: json["userCity"],
        userArea: json["userArea"],
        stateLabel: json["stateLabel"] == null
            ? null
            : stateLabelValues.map[json["stateLabel"]],
        approvalStateLabel: json["approvalStateLabel"] == null
            ? null
            : approvalStateLabelValues.map[json["approvalStateLabel"]],
        userName: json["userName"] == null ? null : json["userName"],
        agentId: json["agentId"],
        agentUserInfoId: json["agentUserInfoId"],
        agentApplyId: json["agentApplyId"],
        userPhoneNumber:
            json["userPhoneNumber"] == null ? null : json["userPhoneNumber"],
        topState: json["topState"] == null ? null : json["topState"],
        topStartTime: json["topStartTime"] == null
            ? null
            : DateTime.parse(json["topStartTime"]),
        topEndTime: json["topEndTime"] == null
            ? null
            : DateTime.parse(json["topEndTime"]),
        topCreateTime: json["topCreateTime"] == null
            ? null
            : DateTime.parse(json["topCreateTime"]),
        levelNum: json["levelNum"] == null ? null : json["levelNum"],
        searchCity: json["searchCity"],
        searchProv: json["searchProv"],
        subCode: json["subCode"],
        publishUserName:
            json["publishUserName"] == null ? null : json["publishUserName"],
        publishUserLogo:
            json["publishUserLogo"] == null ? null : json["publishUserLogo"],
        publishUserPhone:
            json["publishUserPhone"] == null ? null : json["publishUserPhone"],
        talkUserName:
            json["talkUserName"] == null ? null : json["talkUserName"],
        talkUserLogo:
            json["talkUserLogo"] == null ? null : json["talkUserLogo"],
        talkUserPhone:
            json["talkUserPhone"] == null ? null : json["talkUserPhone"],
        talkUserIsAgent:
            json["talkUserIsAgent"] == null ? null : json["talkUserIsAgent"],
        shareUserNames: json["shareUserNames"],
        childUserName: json["childUserName"],
        childUserLogo: json["childUserLogo"],
        childUserPhone: json["childUserPhone"],
        childUserJob: json["childUserJob"],
        talkChildUserName: json["talkChildUserName"],
        talkChildUserLogo: json["talkChildUserLogo"],
        talkChildUserPhone: json["talkChildUserPhone"],
        talkChildUserJob: json["talkChildUserJob"],
        yourWantStr: json["yourWantStr"],
        id: json["_id"] == null ? null : json["_id"],
        audit: json["audit"] == null ? null : json["audit"],
        photo: json["photo"] == null ? null : json["photo"],
        name: json["name"] == null ? null : json["name"],
        title: json["title"] == null ? null : json["title"],
        agent: json["agent"] == null ? null : json["agent"],
        pLink: json["p_link"] == null ? null : json["p_link"],
        intro: json["intro"] == null ? null : json["intro"],
        createdAt: json["createdAt"] == null
            ? null
            : DateTime.parse(json["createdAt"]),
        updatedAt: json["updatedAt"] == null
            ? null
            : DateTime.parse(json["updatedAt"]),
        v: json["__v"] == null ? null : json["__v"],
        fruit: json["fruit"] == null ? null : json["fruit"],
        researchArea:
            json["research_area"] == null ? null : json["research_area"],
        serviceReleaseId:
            json["serviceReleaseId"] == null ? null : json["serviceReleaseId"],
        linkUserId: json["linkUserId"] == null ? null : json["linkUserId"],
        serviceName: json["serviceName"] == null ? null : json["serviceName"],
        serciceType: json["serciceType"] == null ? null : json["serciceType"],
        region: json["region"] == null ? null : json["region"],
        regionId: json["regionId"] == null ? null : json["regionId"],
        isnationwide:
            json["isnationwide"] == null ? null : json["isnationwide"],
        price: json["price"] == null ? null : json["price"],
        negotiable: json["negotiable"] == null ? null : json["negotiable"],
        linkman: json["linkman"] == null ? null : json["linkman"],
        phonenumber: json["phonenumber"] == null ? null : json["phonenumber"],
        advertisingMap:
            json["advertisingMap"] == null ? null : json["advertisingMap"],
        serviceDetails:
            json["serviceDetails"] == null ? null : json["serviceDetails"],
        recommend: json["recommend"],
        userInforCompany: json["userInforCompany"] == null
            ? null
            : UserInforCompany.fromJson(json["userInforCompany"]),
        serciceTypeNme:
            json["serciceTypeNme"] == null ? null : json["serciceTypeNme"],
        datumId: json["id"] == null ? null : json["id"],
        userInfoId: json["userInfoId"] == null ? null : json["userInfoId"],
        userId: json["userId"],
        budget: json["budget"] == null ? null : json["budget"],
        note: json["note"] == null ? null : json["note"],
        endDate:
            json["endDate"] == null ? null : DateTime.parse(json["endDate"]),
        type: json["type"] == null ? null : json["type"],
        technicalFieldId:
            json["technicalFieldId"] == null ? null : json["technicalFieldId"],
        technicalFieldDesc: json["technicalFieldDesc"] == null
            ? null
            : json["technicalFieldDesc"],
        remarks: json["remarks"],
        createBy: json["createBy"],
        createDate: json["createDate"] == null
            ? null
            : DateTime.parse(json["createDate"]),
        updateDate: json["updateDate"],
        approvalBy: json["approvalBy"],
        webUserId: json["webUserId"],
        approvalUserName: json["approvalUserName"],
        typeLabel: json["typeLabel"] == null ? null : json["typeLabel"],
        cityLabel: json["cityLabel"] == null ? null : json["cityLabel"],
        provinceLabel:
            json["provinceLabel"] == null ? null : json["provinceLabel"],
        agentUserInfoName: json["agentUserInfoName"],
        searchKey: json["searchKey"],
        endDateS: json["endDateS"],
        endDateE: json["endDateE"],
        userType: json["userType"] == null ? null : json["userType"],
        userCompanyTypeLabel: json["userCompanyTypeLabel"] == null
            ? null
            : json["userCompanyTypeLabel"],
        workUnit: json["workUnit"],
        province: json["province"] == null ? null : json["province"],
        city: json["city"] == null ? null : json["city"],
        linkPerson: json["linkPerson"],
        linkPhone: json["linkPhone"],
        talkPerson: json["talkPerson"],
        talkPhone: json["talkPhone"],
        activitiesTopic:
            json["activitiesTopic"] == null ? null : json["activitiesTopic"],
        activitiesContent: json["activitiesContent"] == null
            ? null
            : json["activitiesContent"],
        activitiesType:
            json["activitiesType"] == null ? null : json["activitiesType"],
        activitiesMode:
            json["activitiesMode"] == null ? null : json["activitiesMode"],
        activitiesIndustry: json["activitiesIndustry"] == null
            ? null
            : json["activitiesIndustry"],
        organizers: json["organizers"] == null ? null : json["organizers"],
        contractors: json["contractors"],
        coOrganizers:
            json["coOrganizers"] == null ? null : json["coOrganizers"],
        startTime: json["startTime"] == null ? null : json["startTime"],
        endTime: json["endTime"] == null ? null : json["endTime"],
        districtId: json["districtId"] == null ? null : json["districtId"],
        address: json["address"] == null ? null : json["address"],
        imgAddrs: json["imgAddrs"] == null ? null : json["imgAddrs"],
        status: json["status"] == null ? null : json["status"],
        contact: json["contact"] == null ? null : json["contact"],
        regEndTime: json["regEndTime"] == null ? null : json["regEndTime"],
        isReg: json["isReg"] == null ? null : json["isReg"],
        regFee: json["regFee"] == null ? null : json["regFee"].toDouble(),
        regNumber: json["regNumber"] == null ? null : json["regNumber"],
        isFee: json["isFee"] == null ? null : json["isFee"],
        closeReason: json["close_reason"],
        keyword: json["keyword"],
        counts: json["counts"],
        activitiesTypeName: json["activitiesTypeName"] == null
            ? null
            : json["activitiesTypeName"],
        districtName:
            json["districtName"] == null ? null : json["districtName"],
        createUserLogo:
            json["createUserLogo"] == null ? null : json["createUserLogo"],
        collectionNum: json["collectionNum"],
        activitiesIndustryName: json["activitiesIndustryName"],
        payMallInfoId: json["payMallInfoId"],
        stock: json["stock"],
        payOrderId: json["payOrderId"],
        orderCode: json["orderCode"],
        mallNum: json["mallNum"] == null ? null : json["mallNum"],
        totalPrice: json["totalPrice"],
        actualPrice: json["actualPrice"],
        filterPrems: json["filterPrems"],
      );

  Map<String, dynamic> toJson() => {
        "pageIndex": pageIndex == null ? null : pageIndex,
        "pageSize": pageSize == null ? null : pageSize,
        "startIndex": startIndex == null ? null : startIndex,
        "projectId": projectId == null ? null : projectId,
        "createId": createId == null ? null : createId,
        "projectName": projectName == null ? null : projectName,
        "useArea":
            useArea == null ? null : List<dynamic>.from(useArea.map((x) => x)),
        "skillArea": skillArea == null
            ? null
            : List<dynamic>.from(skillArea.map((x) => x)),
        "valuation": valuation == null ? null : valuation,
        "valuationType": valuationType == null ? null : valuationType,
        "fruitType": fruitType == null
            ? null
            : List<dynamic>.from(fruitType.map((x) => x)),
        "processType": processType == null
            ? null
            : List<dynamic>.from(processType.map((x) => x)),
        "financingType": financingType == null
            ? null
            : List<dynamic>.from(financingType.map((x) => x)),
        "cooperateType": cooperateType == null
            ? null
            : List<dynamic>.from(cooperateType.map((x) => x)),
        "yourWant": yourWant == null
            ? null
            : List<dynamic>.from(
                yourWant.map((x) => yourWantValues.reverse[x])),
        "yourWantContent": yourWantContent == null ? null : yourWantContent,
        "words": words == null ? null : List<dynamic>.from(words.map((x) => x)),
        "companyName": companyName == null ? null : companyName,
        "contactName": contactName == null ? null : contactName,
        "phoneNumber": phoneNumber == null ? null : phoneNumber,
        "email": email == null ? null : email,
        "provinceId": provinceId == null ? null : provinceId,
        "cityId": cityId == null ? null : cityId,
        "areaId": areaId == null ? null : areaId,
        "photos":
            photos == null ? null : List<dynamic>.from(photos.map((x) => x)),
        "summary": summary == null ? null : summary,
        "detail": detail == null ? null : detail,
        "teamDesc": teamDesc == null ? null : teamDesc,
        "proveUrl": proveUrl == null
            ? null
            : List<dynamic>.from(proveUrl.map((x) => x)),
        "createTime": createTime == null ? null : createTime.toIso8601String(),
        "updateTime": updateTime == null ? null : updateTime.toIso8601String(),
        "updateBy": updateBy == null ? null : updateBy,
        "comment": comment == null ? null : comment,
        "state": state,
        "approvalState": approvalState == null ? null : approvalState,
        "approvalOpinion": approvalOpinion == null ? null : approvalOpinion,
        "approvalUser": approvalUser == null
            ? null
            : approvalUserValues.reverse[approvalUser],
        "approvalTime":
            approvalTime == null ? null : approvalTime.toIso8601String(),
        "delFlag": delFlag == null ? null : delFlag,
        "isRecommend": isRecommend == null ? null : isRecommend,
        "recommendTime":
            recommendTime == null ? null : recommendTime.toIso8601String(),
        "startVideo": startVideo == null ? null : startVideo,
        "endVideo": endVideo == null ? null : endVideo,
        "browseNum": browseNum == null ? null : browseNum,
        "checkSolution": checkSolution == null ? null : checkSolution,
        "provinceName": provinceName == null ? null : provinceName,
        "cityName": cityName == null ? null : cityName,
        "importFlag": importFlag == null ? null : importFlag,
        "publishUserId": publishUserId == null ? null : publishUserId,
        "talkUserId": talkUserId == null ? null : talkUserId,
        "shareUserIds": shareUserIds == null ? null : shareUserIds,
        "approvalFlag": approvalFlag == null ? null : approvalFlag,
        "childUserId": childUserId,
        "talkChildUserId": talkChildUserId,
        "areaName": areaName,
        "useAreaStr": useAreaStr,
        "skillAreaStr": skillAreaStr,
        "fruitTypeStr": fruitTypeStr,
        "processTypeStr": processTypeStr,
        "financingTypeStr": financingTypeStr,
        "createName": createName == null ? null : createName,
        "accountHead": accountHead == null ? null : accountHead,
        "keyWord": keyWord == null ? null : keyWord,
        "sort": sort == null ? null : sort,
        "userProvince": userProvince,
        "userCity": userCity,
        "userArea": userArea,
        "stateLabel":
            stateLabel == null ? null : stateLabelValues.reverse[stateLabel],
        "approvalStateLabel": approvalStateLabel == null
            ? null
            : approvalStateLabelValues.reverse[approvalStateLabel],
        "userName": userName == null ? null : userName,
        "agentId": agentId,
        "agentUserInfoId": agentUserInfoId,
        "agentApplyId": agentApplyId,
        "userPhoneNumber": userPhoneNumber == null ? null : userPhoneNumber,
        "topState": topState == null ? null : topState,
        "topStartTime":
            topStartTime == null ? null : topStartTime.toIso8601String(),
        "topEndTime": topEndTime == null ? null : topEndTime.toIso8601String(),
        "topCreateTime":
            topCreateTime == null ? null : topCreateTime.toIso8601String(),
        "levelNum": levelNum == null ? null : levelNum,
        "searchCity": searchCity,
        "searchProv": searchProv,
        "subCode": subCode,
        "publishUserName": publishUserName == null ? null : publishUserName,
        "publishUserLogo": publishUserLogo == null ? null : publishUserLogo,
        "publishUserPhone": publishUserPhone == null ? null : publishUserPhone,
        "talkUserName": talkUserName == null ? null : talkUserName,
        "talkUserLogo": talkUserLogo == null ? null : talkUserLogo,
        "talkUserPhone": talkUserPhone == null ? null : talkUserPhone,
        "talkUserIsAgent": talkUserIsAgent == null ? null : talkUserIsAgent,
        "shareUserNames": shareUserNames,
        "childUserName": childUserName,
        "childUserLogo": childUserLogo,
        "childUserPhone": childUserPhone,
        "childUserJob": childUserJob,
        "talkChildUserName": talkChildUserName,
        "talkChildUserLogo": talkChildUserLogo,
        "talkChildUserPhone": talkChildUserPhone,
        "talkChildUserJob": talkChildUserJob,
        "yourWantStr": yourWantStr,
        "_id": id == null ? null : id,
        "audit": audit == null ? null : audit,
        "photo": photo == null ? null : photo,
        "name": name == null ? null : name,
        "title": title == null ? null : title,
        "agent": agent == null ? null : agent,
        "p_link": pLink == null ? null : pLink,
        "intro": intro == null ? null : intro,
        "createdAt": createdAt == null ? null : createdAt.toIso8601String(),
        "updatedAt": updatedAt == null ? null : updatedAt.toIso8601String(),
        "__v": v == null ? null : v,
        "fruit": fruit == null ? null : fruit,
        "research_area": researchArea == null ? null : researchArea,
        "serviceReleaseId": serviceReleaseId == null ? null : serviceReleaseId,
        "linkUserId": linkUserId == null ? null : linkUserId,
        "serviceName": serviceName == null ? null : serviceName,
        "serciceType": serciceType == null ? null : serciceType,
        "region": region == null ? null : region,
        "regionId": regionId == null ? null : regionId,
        "isnationwide": isnationwide == null ? null : isnationwide,
        "price": price == null ? null : price,
        "negotiable": negotiable == null ? null : negotiable,
        "linkman": linkman == null ? null : linkman,
        "phonenumber": phonenumber == null ? null : phonenumber,
        "advertisingMap": advertisingMap == null ? null : advertisingMap,
        "serviceDetails": serviceDetails == null ? null : serviceDetails,
        "recommend": recommend,
        "userInforCompany":
            userInforCompany == null ? null : userInforCompany.toJson(),
        "serciceTypeNme": serciceTypeNme == null ? null : serciceTypeNme,
        "id": datumId == null ? null : datumId,
        "userInfoId": userInfoId == null ? null : userInfoId,
        "userId": userId,
        "budget": budget == null ? null : budget,
        "note": note == null ? null : note,
        "endDate": endDate == null
            ? null
            : "${endDate.year.toString().padLeft(4, '0')}-${endDate.month.toString().padLeft(2, '0')}-${endDate.day.toString().padLeft(2, '0')}",
        "type": type == null ? null : type,
        "technicalFieldId": technicalFieldId == null ? null : technicalFieldId,
        "technicalFieldDesc":
            technicalFieldDesc == null ? null : technicalFieldDesc,
        "remarks": remarks,
        "createBy": createBy,
        "createDate": createDate == null ? null : createDate.toIso8601String(),
        "updateDate": updateDate,
        "approvalBy": approvalBy,
        "webUserId": webUserId,
        "approvalUserName": approvalUserName,
        "typeLabel": typeLabel == null ? null : typeLabel,
        "cityLabel": cityLabel == null ? null : cityLabel,
        "provinceLabel": provinceLabel == null ? null : provinceLabel,
        "agentUserInfoName": agentUserInfoName,
        "searchKey": searchKey,
        "endDateS": endDateS,
        "endDateE": endDateE,
        "userType": userType == null ? null : userType,
        "userCompanyTypeLabel":
            userCompanyTypeLabel == null ? null : userCompanyTypeLabel,
        "workUnit": workUnit,
        "province": province == null ? null : province,
        "city": city == null ? null : city,
        "linkPerson": linkPerson,
        "linkPhone": linkPhone,
        "talkPerson": talkPerson,
        "talkPhone": talkPhone,
        "activitiesTopic": activitiesTopic == null ? null : activitiesTopic,
        "activitiesContent":
            activitiesContent == null ? null : activitiesContent,
        "activitiesType": activitiesType == null ? null : activitiesType,
        "activitiesMode": activitiesMode == null ? null : activitiesMode,
        "activitiesIndustry":
            activitiesIndustry == null ? null : activitiesIndustry,
        "organizers": organizers == null ? null : organizers,
        "contractors": contractors,
        "coOrganizers": coOrganizers == null ? null : coOrganizers,
        "startTime": startTime == null ? null : startTime,
        "endTime": endTime == null ? null : endTime,
        "districtId": districtId == null ? null : districtId,
        "address": address == null ? null : address,
        "imgAddrs": imgAddrs == null ? null : imgAddrs,
        "status": status == null ? null : status,
        "contact": contact == null ? null : contact,
        "regEndTime": regEndTime == null ? null : regEndTime,
        "isReg": isReg == null ? null : isReg,
        "regFee": regFee == null ? null : regFee,
        "regNumber": regNumber == null ? null : regNumber,
        "isFee": isFee == null ? null : isFee,
        "close_reason": closeReason,
        "keyword": keyword,
        "counts": counts,
        "activitiesTypeName":
            activitiesTypeName == null ? null : activitiesTypeName,
        "districtName": districtName == null ? null : districtName,
        "createUserLogo": createUserLogo == null ? null : createUserLogo,
        "collectionNum": collectionNum,
        "activitiesIndustryName": activitiesIndustryName,
        "payMallInfoId": payMallInfoId,
        "stock": stock,
        "payOrderId": payOrderId,
        "orderCode": orderCode,
        "mallNum": mallNum == null ? null : mallNum,
        "totalPrice": totalPrice,
        "actualPrice": actualPrice,
        "filterPrems": filterPrems,
      };
}

enum ApprovalStateLabel { EMPTY }

final approvalStateLabelValues = EnumValues({"审核通过": ApprovalStateLabel.EMPTY});

enum ApprovalUser { EMPTY, ADMIN, LIUSIHENG }

final approvalUserValues = EnumValues({
  "admin": ApprovalUser.ADMIN,
  "": ApprovalUser.EMPTY,
  "liusiheng": ApprovalUser.LIUSIHENG
});

enum StateLabel { EMPTY, STATE_LABEL, PURPLE }

final stateLabelValues = EnumValues({
  "发布中": StateLabel.EMPTY,
  "已结束": StateLabel.PURPLE,
  "进行中": StateLabel.STATE_LABEL
});

class UserInforCompany {
  UserInforCompany({
    this.userId,
    this.state,
    this.type,
    this.addId,
    this.realName,
    this.loginName,
    this.email,
    this.nickname,
    this.showNickname,
    this.phoneNumber,
    this.createTime,
    this.updateTime,
    this.comment,
    this.identity,
    this.message,
    this.sex,
    this.birthdate,
    this.province,
    this.city,
    this.accountHead,
    this.workUnit,
    this.jobDuties,
    this.auditStatus,
    this.complete,
    this.keyWord,
    this.expertInfo,
    this.facilitator,
    this.sort,
    this.provinceName,
    this.cityName,
    this.labShareNum,
    this.shareNum,
    this.shareUserId,
    this.histChatList,
    this.imMessage,
    this.userProvince,
    this.userCity,
    this.userArea,
    this.gkOpenId,
    this.kcOpenId,
    this.balance,
    this.freeze,
    this.searchCity,
    this.searchProv,
    this.vipLevel,
    this.vipLevelIcon,
    this.companyId,
    this.companyName,
    this.companyCode,
    this.companyType,
    this.businessLicense,
    this.companyProviders,
    this.serviceProviders,
    this.companyEmail,
    this.companyLogo,
    this.companyProvince,
    this.companyCity,
    this.remarks,
    this.auditTime,
    this.auditUser,
    this.auditOpinion,
    this.companyTypeLabel,
    this.topState,
    this.topStartTime,
    this.topEndTime,
    this.topCreateTime,
    this.userIntegral,
    this.userAllIntegral,
    this.totalBalance,
    this.orgUserCount,
    this.cooperationUserCount,
    this.linkPerson,
    this.linkPhone,
    this.linkJobDuties,
    this.subUserName,
    this.userName,
  });

  dynamic userId;
  dynamic state;
  String type;
  dynamic addId;
  String realName;
  dynamic loginName;
  dynamic email;
  dynamic nickname;
  int showNickname;
  dynamic phoneNumber;
  dynamic createTime;
  dynamic updateTime;
  dynamic comment;
  dynamic identity;
  dynamic message;
  dynamic sex;
  dynamic birthdate;
  dynamic province;
  String city;
  String accountHead;
  dynamic workUnit;
  dynamic jobDuties;
  dynamic auditStatus;
  int complete;
  dynamic keyWord;
  dynamic expertInfo;
  dynamic facilitator;
  dynamic sort;
  dynamic provinceName;
  String cityName;
  dynamic labShareNum;
  dynamic shareNum;
  dynamic shareUserId;
  dynamic histChatList;
  dynamic imMessage;
  dynamic userProvince;
  dynamic userCity;
  dynamic userArea;
  dynamic gkOpenId;
  dynamic kcOpenId;
  dynamic balance;
  dynamic freeze;
  dynamic searchCity;
  dynamic searchProv;
  dynamic vipLevel;
  dynamic vipLevelIcon;
  dynamic companyId;
  String companyName;
  dynamic companyCode;
  dynamic companyType;
  dynamic businessLicense;
  dynamic companyProviders;
  dynamic serviceProviders;
  dynamic companyEmail;
  dynamic companyLogo;
  dynamic companyProvince;
  dynamic companyCity;
  dynamic remarks;
  dynamic auditTime;
  dynamic auditUser;
  dynamic auditOpinion;
  dynamic companyTypeLabel;
  dynamic topState;
  dynamic topStartTime;
  dynamic topEndTime;
  dynamic topCreateTime;
  dynamic userIntegral;
  dynamic userAllIntegral;
  dynamic totalBalance;
  dynamic orgUserCount;
  dynamic cooperationUserCount;
  dynamic linkPerson;
  dynamic linkPhone;
  dynamic linkJobDuties;
  dynamic subUserName;
  dynamic userName;

  factory UserInforCompany.fromJson(Map<String, dynamic> json) =>
      UserInforCompany(
        userId: json["userId"],
        state: json["state"],
        type: json["type"] == null ? null : json["type"],
        addId: json["addId"],
        realName: json["realName"] == null ? null : json["realName"],
        loginName: json["loginName"],
        email: json["email"],
        nickname: json["nickname"],
        showNickname:
            json["showNickname"] == null ? null : json["showNickname"],
        phoneNumber: json["phoneNumber"],
        createTime: json["createTime"],
        updateTime: json["updateTime"],
        comment: json["comment"],
        identity: json["identity"],
        message: json["message"],
        sex: json["sex"],
        birthdate: json["birthdate"],
        province: json["province"],
        city: json["city"] == null ? null : json["city"],
        accountHead: json["accountHead"] == null ? null : json["accountHead"],
        workUnit: json["workUnit"],
        jobDuties: json["jobDuties"],
        auditStatus: json["auditStatus"],
        complete: json["complete"] == null ? null : json["complete"],
        keyWord: json["keyWord"],
        expertInfo: json["expertInfo"],
        facilitator: json["facilitator"],
        sort: json["sort"],
        provinceName: json["provinceName"],
        cityName: json["cityName"] == null ? null : json["cityName"],
        labShareNum: json["labShareNum"],
        shareNum: json["shareNum"],
        shareUserId: json["shareUserId"],
        histChatList: json["histChatList"],
        imMessage: json["imMessage"],
        userProvince: json["userProvince"],
        userCity: json["userCity"],
        userArea: json["userArea"],
        gkOpenId: json["gkOpenId"],
        kcOpenId: json["kcOpenId"],
        balance: json["balance"],
        freeze: json["freeze"],
        searchCity: json["searchCity"],
        searchProv: json["searchProv"],
        vipLevel: json["vipLevel"],
        vipLevelIcon: json["vipLevelIcon"],
        companyId: json["companyId"],
        companyName: json["companyName"] == null ? null : json["companyName"],
        companyCode: json["companyCode"],
        companyType: json["companyType"],
        businessLicense: json["businessLicense"],
        companyProviders: json["companyProviders"],
        serviceProviders: json["serviceProviders"],
        companyEmail: json["companyEmail"],
        companyLogo: json["companyLogo"],
        companyProvince: json["companyProvince"],
        companyCity: json["companyCity"],
        remarks: json["remarks"],
        auditTime: json["auditTime"],
        auditUser: json["auditUser"],
        auditOpinion: json["auditOpinion"],
        companyTypeLabel: json["companyTypeLabel"],
        topState: json["topState"],
        topStartTime: json["topStartTime"],
        topEndTime: json["topEndTime"],
        topCreateTime: json["topCreateTime"],
        userIntegral: json["userIntegral"],
        userAllIntegral: json["userAllIntegral"],
        totalBalance: json["totalBalance"],
        orgUserCount: json["orgUserCount"],
        cooperationUserCount: json["cooperationUserCount"],
        linkPerson: json["linkPerson"],
        linkPhone: json["linkPhone"],
        linkJobDuties: json["linkJobDuties"],
        subUserName: json["subUserName"],
        userName: json["userName"],
      );

  Map<String, dynamic> toJson() => {
        "userId": userId,
        "state": state,
        "type": type == null ? null : type,
        "addId": addId,
        "realName": realName == null ? null : realName,
        "loginName": loginName,
        "email": email,
        "nickname": nickname,
        "showNickname": showNickname == null ? null : showNickname,
        "phoneNumber": phoneNumber,
        "createTime": createTime,
        "updateTime": updateTime,
        "comment": comment,
        "identity": identity,
        "message": message,
        "sex": sex,
        "birthdate": birthdate,
        "province": province,
        "city": city == null ? null : city,
        "accountHead": accountHead == null ? null : accountHead,
        "workUnit": workUnit,
        "jobDuties": jobDuties,
        "auditStatus": auditStatus,
        "complete": complete == null ? null : complete,
        "keyWord": keyWord,
        "expertInfo": expertInfo,
        "facilitator": facilitator,
        "sort": sort,
        "provinceName": provinceName,
        "cityName": cityName == null ? null : cityName,
        "labShareNum": labShareNum,
        "shareNum": shareNum,
        "shareUserId": shareUserId,
        "histChatList": histChatList,
        "imMessage": imMessage,
        "userProvince": userProvince,
        "userCity": userCity,
        "userArea": userArea,
        "gkOpenId": gkOpenId,
        "kcOpenId": kcOpenId,
        "balance": balance,
        "freeze": freeze,
        "searchCity": searchCity,
        "searchProv": searchProv,
        "vipLevel": vipLevel,
        "vipLevelIcon": vipLevelIcon,
        "companyId": companyId,
        "companyName": companyName == null ? null : companyName,
        "companyCode": companyCode,
        "companyType": companyType,
        "businessLicense": businessLicense,
        "companyProviders": companyProviders,
        "serviceProviders": serviceProviders,
        "companyEmail": companyEmail,
        "companyLogo": companyLogo,
        "companyProvince": companyProvince,
        "companyCity": companyCity,
        "remarks": remarks,
        "auditTime": auditTime,
        "auditUser": auditUser,
        "auditOpinion": auditOpinion,
        "companyTypeLabel": companyTypeLabel,
        "topState": topState,
        "topStartTime": topStartTime,
        "topEndTime": topEndTime,
        "topCreateTime": topCreateTime,
        "userIntegral": userIntegral,
        "userAllIntegral": userAllIntegral,
        "totalBalance": totalBalance,
        "orgUserCount": orgUserCount,
        "cooperationUserCount": cooperationUserCount,
        "linkPerson": linkPerson,
        "linkPhone": linkPhone,
        "linkJobDuties": linkJobDuties,
        "subUserName": subUserName,
        "userName": userName,
      };
}

enum YourWant { EMPTY, YOUR_WANT, PURPLE }

final yourWantValues = EnumValues({
  "项目落地": YourWant.EMPTY,
  "技术交易": YourWant.PURPLE,
  "项目融资": YourWant.YOUR_WANT
});

class News {
  News({
    this.fileUrls,
    this.loc,
    this.kwdWord,
    this.per,
    this.audit,
    this.id,
    this.agentsource,
    this.source,
    this.link,
    this.content,
    this.bodyHtml,
    this.title,
    this.date,
    this.description,
    this.org,
    this.sentimentClassify,
    this.v,
  });

  List<String> fileUrls;
  List<String> loc;
  List<String> kwdWord;
  List<String> per;
  int audit;
  String id;
  String agentsource;
  String source;
  String link;
  String content;
  String bodyHtml;
  String title;
  String date;
  String description;
  Org org;
  SentimentClassify sentimentClassify;
  int v;

  factory News.fromJson(Map<String, dynamic> json) => News(
        fileUrls: json["file_urls"] == null
            ? null
            : List<String>.from(json["file_urls"].map((x) => x)),
        loc: json["LOC"] == null
            ? null
            : List<String>.from(json["LOC"].map((x) => x)),
        kwdWord: json["kwd_word"] == null
            ? null
            : List<String>.from(json["kwd_word"].map((x) => x)),
        per: json["PER"] == null
            ? null
            : List<String>.from(json["PER"].map((x) => x)),
        audit: json["audit"] == null ? null : json["audit"],
        id: json["_id"] == null ? null : json["_id"],
        agentsource: json["agentsource"] == null ? null : json["agentsource"],
        source: json["source"] == null ? null : json["source"],
        link: json["link"] == null ? null : json["link"],
        content: json["content"] == null ? null : json["content"],
        bodyHtml: json["body_html"] == null ? null : json["body_html"],
        title: json["title"] == null ? null : json["title"],
        date: json["date"] == null ? null : json["date"],
        description: json["description"] == null ? null : json["description"],
        org: json["ORG"] == null ? null : orgValues.map[json["ORG"]],
        sentimentClassify: json["sentiment_classify"] == null
            ? null
            : sentimentClassifyValues.map[json["sentiment_classify"]],
        v: json["__v"] == null ? null : json["__v"],
      );

  Map<String, dynamic> toJson() => {
        "file_urls": fileUrls == null
            ? null
            : List<dynamic>.from(fileUrls.map((x) => x)),
        "LOC": loc == null ? null : List<dynamic>.from(loc.map((x) => x)),
        "kwd_word":
            kwdWord == null ? null : List<dynamic>.from(kwdWord.map((x) => x)),
        "PER": per == null ? null : List<dynamic>.from(per.map((x) => x)),
        "audit": audit == null ? null : audit,
        "_id": id == null ? null : id,
        "agentsource": agentsource == null ? null : agentsource,
        "source": source == null ? null : source,
        "link": link == null ? null : link,
        "content": content == null ? null : content,
        "body_html": bodyHtml == null ? null : bodyHtml,
        "title": title == null ? null : title,
        "date": date == null ? null : date,
        "description": description == null ? null : description,
        "ORG": org == null ? null : orgValues.reverse[org],
        "sentiment_classify": sentimentClassify == null
            ? null
            : sentimentClassifyValues.reverse[sentimentClassify],
        "__v": v == null ? null : v,
      };
}

enum Org { EMPTY, ORG, PURPLE, FLUFFY, TENTACLED }

final orgValues = EnumValues({
  "": Org.EMPTY,
  "樊城区牛首镇农技服务中心,太平店镇农技服务中心,樊城区人民政府,区农业技术推广中心": Org.FLUFFY,
  "儋州国家现代农业产业园管委会,儋州市融媒体中心,中国热科院,中国热带农业科学院,网易": Org.ORG,
  "省政府,中国水产科学院淡水渔业研究中心,江苏省人民政府": Org.PURPLE,
  "谷城县农技推广中心,谷城县农技中心": Org.TENTACLED
});

enum SentimentClassify { EMPTY, SENTIMENT_CLASSIFY }

final sentimentClassifyValues = EnumValues({
  "正向": SentimentClassify.EMPTY,
  "中性": SentimentClassify.SENTIMENT_CLASSIFY
});

class EnumValues<T> {
  Map<String, T> map;
  Map<T, String> reverseMap;

  EnumValues(this.map);

  Map<T, String> get reverse {
    if (reverseMap == null) {
      reverseMap = map.map((k, v) => new MapEntry(v, k));
    }
    return reverseMap;
  }
}
